#include "billprinterapp.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    // 加载样式表
    QFile styleFile(":/stylesheets/dark.qss");
    if (styleFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
        QString styleSheet = styleFile.readAll();
        app.setStyleSheet(styleSheet);
        styleFile.close();
    }
    
    BillPrinterApp window;
    window.show();
    
    return app.exec();
}
